package com.connect.report.file.processor;

import static org.junit.Assert.*;

import java.io.IOException;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ReportFormatRenderTest {

	@Test
	public void test() {
		ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
		ReportFormatRender reportFormatRender = (ReportFormatRender) context.getBean("reportFormatRender");
		try {
			reportFormatRender.renderReportAcquirer("2014-03-28", "621354","002587");
			reportFormatRender.renderReportIssuer("2014-03-28", "621354","002587");
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
